package com.leyou.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leyou.entity.CategoryAndBrand;
import com.leyou.mapper.CategoryAndBandMapper;
import com.leyou.service.CategoryAndBandService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryAndBandServiceImpl extends ServiceImpl<CategoryAndBandMapper,CategoryAndBrand> implements CategoryAndBandService {
    @Override
    public List<Long> findCategoryIdsByBrandId(Long id) {
        List<Long> categoryIds=baseMapper.findCategoryIdsByBrandId(id);
        return categoryIds;
    }
}
